package e2q.security.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "cqupt_dmjxx")
public class E2qSmDmjxx {

		private Long DMJXX_ID;
		private E2qSmDmjlb e2qSmDmjlb;
		private String DMJXX_LBM;
		private String DMJXX_DM;
		private String DMJXX_MC;
		private String DMJXX_SM;
		private String TIMESTAMP;
		@Override
		public String toString()
		{
			return DMJXX_ID.toString();
		}

		@Id
		@GeneratedValue(generator = "pk")
		@Column(name = "DMJXX_ID")
		@GenericGenerator(name = "pk", strategy = "e2q.web.orm.IdGenerator")
		public Long getDMJXX_ID() {
			return DMJXX_ID;
		}

		public void setDMJXX_ID(Long dmjxx_id) {
			DMJXX_ID = dmjxx_id;
		}

		@ManyToOne
		@JoinColumn(name = "DMJXX_DMJLB_ID")
		public E2qSmDmjlb getE2qSmDmjlb() {
			return e2qSmDmjlb;
		}

		public void setE2qSmDmjlb(E2qSmDmjlb e2qSmDmjlb) {
			this.e2qSmDmjlb = e2qSmDmjlb;
		}		

		@Column(name = "DMJXX_LBM")
		public String getDMJXX_LBM() {
			return DMJXX_LBM;
		}

		public void setDMJXX_LBM(String dmjxx_lbm) {
			DMJXX_LBM = dmjxx_lbm;
		}

		@Column(name = "DMJXX_DM")
		public String getDMJXX_DM() {
			return DMJXX_DM;
		}

		public void setDMJXX_DM(String dmjxx_dm) {
			DMJXX_DM = dmjxx_dm;
		}

		@Column(name = "DMJXX_MC")
		public String getDMJXX_MC() {
			return DMJXX_MC;
		}

		public void setDMJXX_MC(String dmjxx_mc) {
			DMJXX_MC = dmjxx_mc;
		}

		@Column(name = "DMJXX_SM")
		public String getDMJXX_SM() {
			return DMJXX_SM;
		}

		public void setDMJXX_SM(String dmjxx_sm) {
			DMJXX_SM = dmjxx_sm;
		}
		
		@Column(name = "TIMESTAMP")

		public String getTIMESTAMP() {
			return TIMESTAMP;
		}

		public void setTIMESTAMP(String timestamp) {
			TIMESTAMP = timestamp;
		}


		
}
